Can't add content to panels (content popups disappear when + sign button is clicked)

Events happening in the community are now at Drupal community events on www.drupal.org.
bflora's picture

I recently moved to a new server and now I can't add or edit content within panels. The modal popup windows have stopped functioning.

Here's what happens:

  1. I go to the content tab of a panel and click a Plus sign button to add some content to a panel.
  2. The popular appears, empty for about 2 seconds.
  3. It disappears.

None of the form info that's supposed to show up in there shows up in there.

What could be causing this and how do I fix it? Thanks.

Comments

Are you sure everything has been moved?

drew reece's picture

Are you sure everything has been moved, or did you clean install Drupal and re-add you modules & content?
I'm assuming you have cleared the caches since the move (shouldn't really matter for an admin, but you never know for sure)?

Make sure the jquery module is working, I think panels uses it for the editing of panels. Look at the status page admin/logs/status for any possible faults, and check the logs admin/watchdog.

Do you still have access to the old server site? If you do you could use firebug (the firefox extension) to make compare all the files are being served from each site. Get firebug anyway, since it will help you track down any scripts that are not loading (possible permission issues).

I confess to not actually using panels on a live site, but these are the places I would start to look.

Everything's been moved

bflora's picture

Everything's been moved over. I've been fixing migration bugs all week and this is the LAST one. Caches have been cleared.

jquery is working.

I could take a look at firebug's console on the old site, not sure what I'll be looking for though. It works over there.

The first thing to do is use

merlinofchaos's picture

The first thing to do is use firebug to look at the POST response; also look in your apache/php error log to see if there is a crash. Your post response should start with a { and contain what probably looks like line noise if you don't understand it. It should end with a } and not contain any HTML output before the first { or after the last }.

I just had a similar problem

reubenavery's picture

I just had a similar problem pop up, and it was due to another module's javascript erroring out, causing the + buttons on the panels content edit page to break..

Same problem. Error message

dejackson's picture

Same problem. Error message (in Firefox) reads as follows:

Drupal.settings.CToolsAJAX is undefined

line 513 in modules/custom/ctools/js/ajax-responder.js

// Add information about loaded CSS and JS files.
if (Drupal.settings.CToolsAJAX.css) {
  $.extend(Drupal.CTools.AJAX.css, Drupal.settings.CToolsAJAX.css);
}

Can't add content to panels ....

dejackson's picture

Exact same problem.

Error message in Firefox reads:

Drupal.settings.CToolsAJAX is undefined

line 513 in /modules/custom/ctools/js/ajax-responder.js?

// Add information about loaded CSS and JS files.
if (Drupal.settings.CToolsAJAX.css) {
$.extend(Drupal.CTools.AJAX.css, Drupal.settings.CToolsAJAX.css);
}

So...

KCDL's picture

Did anyone figure this out? Every issue I google has some replies but no resolution.

Panels

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: